<#macro pagination pb mn pageTxtId="">
<div class="pagination pagination-right" style="margin-top:0px;">
	<ul class="pagination remove-margin">
	<#if (pb.total > 0)>
		<#if (pb.page == 1)><li class="active"><a href="javascript:;"><i class="icon-double-angle-left"></i></a></li><#else><li><a href="javascript:;" onclick="javascript: ${mn}(1);"><i class="icon-double-angle-left"></i></a></li></#if>
		<#if (pb.page == 1)><li class="active"><a href="javascript:;"><i class="icon-chevron-left"></i></a></li><#else><li><a href="javascript:;" onclick="javascript: ${mn}(${pb.page - 1});"><i class="icon-chevron-left"></i></a></li></#if>
		<#list pb.startPage..pb.endPage as i>
			<#if (pb.page == i)><li class="active"><a href="javascript:void(0)">${i}</a></li><#else><li><a href="javascript:;" onclick="javascript: ${mn}(${i});">${i}</a></li></#if>
		</#list>
		<#if (pb.page == pb.endPage)><li class="active"><a href="javascript:;"><i class="icon-chevron-right"></i></a></li><#else><li><a href="javascript:;" onclick="javascript: ${mn}(${pb.page + 1});"><i class="icon-chevron-right"></i></a></li></#if>
		<#if (pb.page == pb.endPage)><li class="active"><a href="javascript:;"><i class="icon-double-angle-right"></i></a></li><#else><li><a href="javascript:;" onclick="javascript: ${mn}(${pb.pageCount});"><i class="icon-double-angle-right"></i></a></li></#if>
		<li class="active"><a href="javascript:;">共计：${(pb.total)!'0'}条记录，当前：${pb.page}/${(pb.pageCount)!'0'}页</a></li>
	</ul>
	<#else>
	<li class="active"><a href="javascript:;">未找到任何符合条件的记录</a></li>
	</#if>
	<input type="hidden" id="<#if (pageTxtId?? && '' != pageTxtId)>${pageTxtId}<#else>sys_pagination_txt</#if>" value="${pb.page}" />
</div>
</#macro>



<#macro paginationSubmit1 pb formId pageId>
	<div class="btn-group" style="margin-top:5px;">
		<#if (pb.total > 0)>
		<a class="btn"<#if (pb.page == 1)> disabled<#else> onclick="javascript: $('#${pageId}').val(1); $('#${formId}').submit();"</#if>>首页</a>
		<a class="btn"<#if (pb.page == 1)> disabled<#else> onclick="javascript: $('#${pageId}').val('${pb.page - 1}'); $('#${formId}').submit();"</#if>>上一页</a>
		<#list pb.startPage..pb.endPage as i>
		<a class="btn"<#if (pb.page == i)> disabled<#else> onclick="javascript: $('#${pageId}').val('${i}'); $('#${formId}').submit();"</#if>>${i}</a>
		</#list>
		<a class="btn"<#if (pb.page == pb.endPage)> disabled<#else> onclick="javascript: $('#${pageId}').val('${pb.page + 1}'); $('#${formId}').submit();"</#if>>下一页</a>
		<a class="btn"<#if (pb.page == pb.endPage)> disabled<#else> onclick="javascript: $('#${pageId}').val('${pb.pageCount}'); $('#${formId}').submit();"</#if>>尾页</a>
		<a class="btn" disabled>共计：${(pb.total)!'0'}条记录，当前：${pb.page}/${(pb.pageCount)!'0'}页</a>
		<#else>
		<a class="btn" disabled>未找到任何符合条件的记录</a>
		</#if>
	</div>
</#macro>



<#--
	手机版分页使用
-->
<#macro paginationParm url=''>
	<p style="display:none;">-[]-<#if pageBean.resultList?? && pageBean.resultList?size gt 0>1<#else>0</#if></p>
	<input type="hidden" class="pageurl" value="${url}"/>
</#macro>